package work;

public class JavaTeacher2 extends Teacher {
    void openEclipse() {
        System.out.println("打开Eclipse");
    }
    JavaTeacher2(String name,String sex,int age,String extent,int teachYear){
        super(name,sex,age,extent,teachYear);
    }
}
